package visitor.pattern.simple.browser.internet;

import lombok.extern.slf4j.Slf4j;
import visitor.pattern.simple.browser.visitors.base.BaseVisitor;

/**
 * @Author: Coderlyz
 * @Date: 2023/4/3 19:57
 */
@Slf4j
public class Bilibili extends AbstractHtmls{

    public Bilibili(){
        content="欢迎访问Bilibili！";
        type=Types.Bilibili;
    }

    @Override
    public void accept(BaseVisitor visitors) {
        visitors.visitingBilibili(this);
    }

    @Override
    public void show() {
        log.debug(content);
    }
}
